package com.t35.ssh.action;

import java.util.List;

import com.t35.ssh.entity.pojo.User;
import com.t35.ssh.service.UserService;

public class UserAction {
	private List<User> userList;
	private UserService userService;
	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	public List<User> getUserList() {
		return userList;
	}

	public void setUserList(List<User> userList) {
		this.userList = userList;
	}
	
	public String list(){
		this.userList=this.userService.getAllUserList();
		return "success";
	}
}
